package com.shigui.news.dao;

import java.util.List;

import com.shigui.news.model.Category;
import com.shigui.news.model.User;


public interface CategoryDao {

	Category select(Integer cateId,User user,String sql);
	Category selectById(Integer cateId);
	List<Category> select(String sql, Integer page, Integer count);
	List<Category> select();
	void insert(Category category);
	void update(Category category);
	void delete(Category category);
	Integer countCategoryList(List<Category> categories);
//	User findByPersistCode(String persistCode);
}
